package com.zhuimeng.service.impl;

import com.zhuimeng.service.LoginService;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Override
    public boolean login(String name, String pwd) {
        if (name!=null && pwd !=null && name.equals("admin") && pwd.equals("admin")){
            return true;
        }
        return false;
    }
}
